package com.xxx.blog.base.service.impl;

import com.xxx.blog.base.dao.UserBaseMapper;
import com.xxx.blog.base.domain.UserBase;
import com.xxx.blog.base.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.jws.soap.SOAPBinding;

/*******************************************************************************
 * Project: blog-base
 * Package: com.xxx.blog.base.service.impl
 * Type:    TestServiceImpl
 * Author:  ChenXuefei
 * Date:    2017/12/11 17:01
 *
 * Copyright (c) 2017 AFCATSTAR. All Rights Reserved.
 *******************************************************************************/
@Service("testService")
public class TestServiceImpl implements TestService{
    
    @Autowired
    private UserBaseMapper userBaseMapper;
    
    public void test() {
        UserBase userBase =  new UserBase();
        userBase.setUsername("chenxuefei");
        userBase.setPassword("123456");
        userBaseMapper.insert(userBase);
    }
}
